<template>
  <div>
    son2
    <button @click="change">changeName</button>
    <button @click="changeAge">changeAge</button>
     
  </div>
</template>
<script>
export default {
  methods: {
    change() {
      this.$store.commit("nameModule/changeName",798)
    },
    changeAge() {
       this.$store.commit("ageModule/changeAge",22)
    }
  },
}
</script>